<%--
  Created by IntelliJ IDEA.
  User: guzhe
  Date: 2020/12/11
  Time: 20:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
</head>
<body>
<h1>添加学生</h1><hr>
<%--post 方法提交时，需要手动设置字符编码为UTF-8，否则会出现中文乱码--%>
<form action="dealaddstudent.jsp" method="get">
请输入学号：<input type="text" id="stuno" name="stuno"><br>
请输入姓名：<input type="text" id="stuname" name="stuname"><br>
请选择班级：<select name="classes">
    <option value="1808041">1808041</option>
    <option value="1808042">1808042</option>
    <option value="1808011">1808011</option>
    <option value="1808012">1808012</option>
</select>
<br>
请选择性别：<select id="gender" name="gender">
    <option value="男">男</option>
    <option value="女">女</option>
</select>
<br>
请选择系部：<select  id="department" name="department">
    <option value="软件工程">软件工程</option>
    <option value="计算机应用">计算机应用</option>
</select>
<br>
请输入电话：<input type="text" id="tel" name="tel"><br>
请选择宿舍：<select id="dormno" name="dormno">
    <option value="3-101">3-101</option>
    <option value="10-408">10-408</option>
</select>
<br>
<input type="submit" value="提交" name="submit">
</form>
<%

%>
</body>
</html>
